package com.mc.code.entity;

public class CodeUsers {
    private int id; //主键
    private String image;//用户头像
    private int userNo;//用户编号
    private String username;//账号
    private String password;//密码
    private String phoneNum;//用户手机号
    private int payPassword;//支付密码
    private double banlance;//账户余额
    private int identity;//实名认证状态(1：已认证；2：未认证)
    private int type;//身份（1：需求方；2：开发方）
    private int state;//账号状态(1:可用；2：停用)
    private int developerType;//开发者类型(1：个人；2：团队)
    private int qq;//qq
    private String email;//邮箱
    private String nickName;//昵称
    private int delflag;//删除状态（用于逻辑删除）

    @Override
    public String toString() {
        return "CodeUsers{" +
                "id=" + id +
                ", image='" + image + '\'' +
                ", userNo=" + userNo +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", payPassword=" + payPassword +
                ", banlance=" + banlance +
                ", identity=" + identity +
                ", type=" + type +
                ", state=" + state +
                ", developerType=" + developerType +
                ", qq=" + qq +
                ", email='" + email + '\'' +
                ", nickName='" + nickName + '\'' +
                ", delflag=" + delflag +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public int getUserNo() {
        return userNo;
    }

    public void setUserNo(int userNo) {
        this.userNo = userNo;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public int getPayPassword() {
        return payPassword;
    }

    public void setPayPassword(int payPassword) {
        this.payPassword = payPassword;
    }

    public double getBanlance() {
        return banlance;
    }

    public void setBanlance(double banlance) {
        this.banlance = banlance;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getDeveloperType() {
        return developerType;
    }

    public void setDeveloperType(int developerType) {
        this.developerType = developerType;
    }

    public int getQq() {
        return qq;
    }

    public void setQq(int qq) {
        this.qq = qq;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public int getDelflag() {
        return delflag;
    }

    public void setDelflag(int delflag) {
        this.delflag = delflag;
    }

    public CodeUsers() {
    }

    public CodeUsers(String image, int userNo, String username, String password, String phoneNum, int payPassword, double banlance, int identity, int type, int state, int developerType, int qq, String email, String nickName, int delflag) {
        this.image = image;
        this.userNo = userNo;
        this.username = username;
        this.password = password;
        this.phoneNum = phoneNum;
        this.payPassword = payPassword;
        this.banlance = banlance;
        this.identity = identity;
        this.type = type;
        this.state = state;
        this.developerType = developerType;
        this.qq = qq;
        this.email = email;
        this.nickName = nickName;
        this.delflag = delflag;
    }

    public CodeUsers(int id, String image, int userNo, String username, String password, String phoneNum, int payPassword, double banlance, int identity, int type, int state, int developerType, int qq, String email, String nickName, int delflag) {
        this.id = id;
        this.image = image;
        this.userNo = userNo;
        this.username = username;
        this.password = password;
        this.phoneNum = phoneNum;
        this.payPassword = payPassword;
        this.banlance = banlance;
        this.identity = identity;
        this.type = type;
        this.state = state;
        this.developerType = developerType;
        this.qq = qq;
        this.email = email;
        this.nickName = nickName;
        this.delflag = delflag;
    }
}